package com.gugee.tiktok.common.model.dal.challenge;

import com.gugee.tiktok.common.model.mysql.Challenge;
import org.springframework.data.repository.CrudRepository;

import java.util.Optional;

public interface ChallengeRepository extends CrudRepository<Challenge,Long>,ChallengeExtRepository {

    Optional<Challenge> findByCid(long cid);
}
